package com.gukun.springboot.tdengine.pojo;

/**
 * PROJECT_NAME: springboot-tdengine-adapter
 * DESCRIPTION:统计值，最大最小平均值，开始值、结束值
 * USER: gukun
 * DATE: 2023/12/4 11:21
 */
public class AggregateTagData {
    /**
     * 开始时间
     */
    private Long start;
    /**
     * 结束时间
     */
    private Long end;
    /**
     * 最小值
     */
    private double min;
    /**
     * 最大值
     */
    private double max;
    /**
     * 平均值
     */
    private double avg;
    /**
     * 第一个值
     */
    private double first;
    /**
     * 最后一个值
     */
    private double last;

    public Long getStart() {
        return start;
    }

    public void setStart(Long start) {
        this.start = start;
    }

    public Long getEnd() {
        return end;
    }

    public void setEnd(Long end) {
        this.end = end;
    }

    public double getMin() {
        return min;
    }

    public void setMin(double min) {
        this.min = min;
    }

    public double getMax() {
        return max;
    }

    public void setMax(double max) {
        this.max = max;
    }

    public double getAvg() {
        return avg;
    }

    public void setAvg(double avg) {
        this.avg = avg;
    }

    public double getFirst() {
        return first;
    }

    public void setFirst(double first) {
        this.first = first;
    }

    public double getLast() {
        return last;
    }

    public void setLast(double last) {
        this.last = last;
    }
}
